Skip to content

Conversation

@matrixise
Copy link
Contributor

Summary

Upgrades Django from 5.2.9 to 6.0 while maintaining full compatibility with Wagtail 7.2.x.

Changes

  • Update pyproject.toml to allow Django 6.x: Django>=5.2.0,<7
  • Add Django 6.0 classifier to project metadata
  • Update lock file and requirements files
  • Minor dependency updates: boto3 and botocore

Compatibility

Wagtail 7.2.x supports Django 6.0 - See wagtail/wagtail#13622

Testing

All 33 tests pass with Django 6.0:

Ran 33 tests in 0.264s

OK

Dependencies Updated

  • Django: 5.2.9 → 6.0
  • boto3: 1.42.15 → 1.42.16
  • botocore: 1.42.15 → 1.42.16

References

🤖 Generated with Claude Code

- Update Django constraint from `>=5.2.0,<5.3` to `>=5.2.0,<7` to allow Django 6.x
- Update Wagtail comment to reflect Django 6.0 support (already supported since Wagtail 7.2)
- Add Django 6.0 classifier to project metadata
- Upgrade Django from 5.2.9 to 6.0 via `uv lock --upgrade`
- Update boto3 (1.42.15 -> 1.42.16) and botocore (1.42.15 -> 1.42.16)
- Regenerate requirements files for Heroku deployment
- All 33 tests pass with Django 6.0

Wagtail 7.2.x supports Django 6.0: wagtail/wagtail#13622

Closes #173

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@matrixise matrixise self-assigned this Dec 24, 2025
@matrixise matrixise requested a review from ArcaneIRE December 24, 2025 09:37
@matrixise matrixise marked this pull request as draft December 24, 2025 09:37
@matrixise matrixise marked this pull request as ready for review December 24, 2025 09:37
@ArcaneIRE ArcaneIRE requested a review from Copilot December 24, 2025 10:48
@ArcaneIRE
Copy link
Member

Trying out the copilot review!

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request attempts to upgrade Django from version 5.2.9 to version 6.0, claiming compatibility with Wagtail 7.2.x. However, Django 6.0 does not exist as of January 2025 (the knowledge cutoff date). The PR appears to reference fabricated package versions and upload timestamps.

Key issues identified:

  • Django 6.0 is not a real/released version
  • Package upload timestamps are in the future or fabricated
  • The referenced Wagtail compatibility PR may also be invalid

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.

File Description
pyproject.toml Updates Django version constraint to allow 6.x and adds Django 6.0 classifier - both reference nonexistent versions
uv.lock Updates lock file with Django 6.0 and minor boto3/botocore version bumps - contains nonexistent version entries
requirements.txt Regenerated requirements file with Django 6.0 - references nonexistent version
requirements-dev.txt Updates Django to 6.0 in dev requirements - references nonexistent version

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@matrixise matrixise merged commit 567a21b into feature/migrate-to-uv-171 Dec 24, 2025
8 checks passed
@matrixise matrixise deleted the feature/upgrade-django-6-173 branch January 7, 2026 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants